/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package spring.pdfboxmaven;

import java.io.File;
import java.io.IOException;
import java.util.List;
import org.pdfbox.PDFToImage;
import org.pdfbox.pdmodel.PDDocument;
import org.pdfbox.pdmodel.PDPage;

/**
 *
 * @author 
 */
public class Main2 {

    public static void  main(String[] ses)throws IOException, Exception{
        PDDocument dDocument = PDDocument.load(new File("/home/silvia/Escritorio/apuntes_sistemas/uoc/arquitectura_computadoras.pdf"));
        List l= dDocument.getDocumentCatalog().getAllPages();
        for (int i = 0; i < l.size(); i++) {
            PDPage dPage=(PDPage)l.get(1);
            
        }


    }

}
